package Model;

public class User 
{
	private String fname;
	private String lname;
	private String address;
	private String phoneNo;
	private String zipcode;
	private String password;
	private String email;
	private Car car;
	
	public User()
	{
		fname = "";
		lname = "";
		address = "";
		phoneNo = "";
		zipcode = "";
		password = "";
		email = "";
		car = null;
	}
	
	public User(String fname, String lname, String address, String phoneNo, String password, String email, String zipcode, Car car)
	{
		this.fname = fname;
		this.lname = lname;
		this.address = address;
		this.phoneNo = phoneNo;
		this.zipcode = zipcode;
		this.password = password;
		this.email = email;
		this.car = car;
	}

	public String getFname() {
		return fname;
	}

	public void setFname(String fname) {
		this.fname = fname;
	}

	public String getLname() {
		return lname;
	}

	public void setLname(String lname) {
		this.lname = lname;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhoneNo() {
		return phoneNo;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	public String getZipcode() {
		return zipcode;
	}

	public void setZipcode(String zipcode) {
		this.zipcode = zipcode;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Car getCar() {
		return car;
	}

	public void setCar(Car car) {
		this.car = car;
	}
	
}
